    <div class="top-bar">                           
				<h1><?php echo $info; ?></h1>
				<div class="breadcrumbs">
                    <a href="#">Trang chủ</a> / <a href="#">Quản lý danh mục</a>
                    
                     <!--<button class="floatright" onclick="javascript: location.href='<?php echo site_url('adcp/managemenu/themdanhmuc') ?>'">
                        <img src="<?php echo base_url('assets/imgs/admin/add-icon.gif') ?>"/>
                        <label style="vertical-align: top;">Thêm</label>
                    </button>--> 
                </div>                   
			</div><br />
		 <!-- <div class="select-bar">
		    <label>
		    <input type="text" name="textfield" />
		    </label>
		    <label>
			<input type="submit" name="Submit" value="Search" />
			</label>
		  </div>-->
          
			<div class="table">
				<img src="<?php echo base_url('assets/imgs/admin/bg-th-left.gif') ?>" width="8" height="7" alt="" class="left" />
				<img src="<?php echo base_url('assets/imgs/admin/bg-th-right.gif')?>" width="7" height="7" alt="" class="right" />
				<table class="listing" cellpadding="0" cellspacing="0">
				    <tr>
						<th class="first" width="177"><?php echo $info; ?></th>
						<th>Hiển thị</th>	
                        <!--<th class="last"></th>-->
					</tr>
                    <?php
                        foreach($bangdanhmuc as $row)
                        {
                            $tendanhmuc = $row['tendanhmuc'];
                            $madanhmuc = $row['madanhmuc'];
                            $hienthi = $row['hienthi'];
                            $danhmuccon = $row['danhmuccon'];
                            if($madanhmuc != "trangchu")
                            {   
                                echo "<tr>";
                                echo "<td class=\"first style1\">$tendanhmuc</td>";
                                if($hienthi == '1')
                                {
                                    echo "<td><input type='checkbox' class='chk-hienthi-danhmuc' checked='true' id='chk-danhmuc-$madanhmuc' /></td>";
                                }
                                else
                                {
                                    echo "<td><input type='checkbox' class='chk-hienthi-danhmuc' id='chk-danhmuc-$madanhmuc' /></td>";
                                }
                                //echo "<td><a href='". base_url('adcp/managemenu/xoadanhmuc?madanhmuc=' . $madanhmuc) ."'><img src='". base_url('assets/imgs/admin/hr.gif') ."' width='16' title='Xóa bài viết' height='16' alt='www.nhakhoatoanmy.vn' /></a></td>";
                                echo "</tr>";
                                if(count($danhmuccon) > 0)
                                {
                                    foreach($danhmuccon as $rowCon)
                                    {
                                        $madanhmuc_con = $rowCon['madanhmuc_con'];
                                        $tendanhmuc_con = $rowCon['tendanhmuc'];
                                        $hienthi_con = $rowCon['hienthi'];
                                        echo "<tr class='bg'>";
                                        echo "<td class=\"first style2\">$tendanhmuc_con</td>";
                                        if($hienthi_con == '1')
                                        {
                                            echo "<td><input type='checkbox' class='chk-hienthi-danhmuccon' checked='true' id='chk-danhmuccon-$madanhmuc_con' /></td>";
                                        }
                                        else
                                        {
                                            echo "<td><input type='checkbox' class='chk-hienthi-danhmuccon' id='chk-danhmuccon-$madanhmuc_con' /></td>";
                                        }
                                        //echo "<td><a href='". base_url('adcp/managemenu/xoadanhmuc?madanhmuc=' . $madanhmuc_con) ."'><img src='". base_url('assets/imgs/admin/hr.gif') ."' width='16' title='Xóa bài viết' height='16' alt='www.nhakhoatoanmy.vn' /></a></td>";
                                        echo "</tr>";   
                                    }
                                }
                            }                            
                        }
                    ?>
				<!--	<tr>
						<td class="first style1">- Lorem Ipsum </td>
						<td><img src="assets/imgs/admin/add-icon.gif" width="16" height="16" alt="" /></td>
						<td><img src="assets/imgs/admin/hr.gif" width="16" height="16" alt="" /></td>
						<td><img src="assets/imgs/admin/save-icon.gif" width="16" height="16" alt="" /></td>
						<td><img src="assets/imgs/admin/edit-icon.gif" width="16" height="16" alt="" /></td>
						<td><img src="assets/imgs/admin/login-icon.gif" width="16" height="16" alt="" /></td>
						<td><img src="assets/imgs/admin/save-icon.gif" width="16" height="16" alt="save" /></td>
						<td class="last"><img src="assets/imgs/admin/add-icon.gif" width="16" height="16" alt="add" /></td>
					</tr>
					<tr class="bg">
						<td class="first style2">- Lorem Ipsum </td>
						<td><img src="assets/imgs/admin/add-icon.gif" width="16" height="16" alt="add" /></td>
						<td><img src="assets/imgs/admin/hr.gif" width="16" height="16" alt="" /></td>
						<td><img src="assets/imgs/admin/save-icon.gif" width="16" height="16" alt="save" /></td>
						<td><img src="assets/imgs/admin/edit-icon.gif" width="16" height="16" alt="edit" /></td>
						<td><img src="assets/imgs/admin/login-icon.gif" width="16" height="16" alt="login" /></td>
						<td><img src="assets/imgs/admin/save-icon.gif" width="16" height="16" alt="save" /></td>
						<td class="last"><img src="assets/imgs/admin/add-icon.gif" width="16" height="16" alt="add" /></td>
					</tr>
					<tr>
						<td class="first style3">- Lorem Ipsum </td>
						<td><img src="assets/imgs/admin/add-icon.gif" width="16" height="16" alt="add" /></td>
						<td><img src="assets/imgs/admin/hr.gif" width="16" height="16" alt="" /></td>
						<td><img src="assets/imgs/admin/save-icon.gif" width="16" height="16" alt="save" /></td>
						<td><img src="assets/imgs/admin/edit-icon.gif" width="16" height="16" alt="edit" /></td>
						<td><img src="assets/imgs/admin/login-icon.gif" width="16" height="16" alt="login" /></td>
						<td><img src="assets/imgs/admin/save-icon.gif" width="16" height="16" alt="save" /></td>
						<td class="last"><img src="img/add-icon.gif" width="16" height="16" alt="add" /></td>
					</tr>
					<tr class="bg">
						<td class="first style1">- Lorem Ipsum </td>
						<td><img src="assets/imgs/admin/add-icon.gif" width="16" height="16" alt="add" /></td>
						<td><img src="assets/imgs/admin/hr.gif" width="16" height="16" alt="" /></td>
						<td><img src="assets/imgs/admin/save-icon.gif" width="16" height="16" alt="save" /></td>
						<td><img src="assets/imgs/admin/edit-icon.gif" width="16" height="16" alt="edit" /></td>
						<td><img src="assets/imgs/admin/login-icon.gif" width="16" height="16" alt="login" /></td>
						<td><img src="assets/imgs/admin/save-icon.gif" width="16" height="16" alt="save" /></td>
						<td class="last"><img src="img/add-icon.gif" width="16" height="16" alt="add" /></td>
					</tr>
					<tr>
						<td class="first style2">- Lorem Ipsum </td>
						<td><img src="assets/imgs/admin/add-icon.gif" width="16" height="16" alt="add" /></td>
						<td><img src="assets/imgs/admin/hr.gif" width="16" height="16" alt="" /></td>
						<td><img src="assets/imgs/admin/save-icon.gif" width="16" height="16" alt="save" /></td>
						<td><img src="assets/imgs/admin/edit-icon.gif" width="16" height="16" alt="edit" /></td>
						<td><img src="assets/imgs/admin/login-icon.gif" width="16" height="16" alt="login" /></td>
						<td><img src="assets/imgs/admin/save-icon.gif" width="16" height="16" alt="save" /></td>
						<td class="last"><img src="assets/imgs/admin/add-icon.gif" width="16" height="16" alt="add" /></td>
					</tr>
					<tr class="bg">
						<td class="first style3">- Lorem Ipsum </td>
						<td><img src="assets/imgs/admin/add-icon.gif" width="16" height="16" alt="add" /></td>
						<td><img src="assets/imgs/admin/hr.gif" width="16" height="16" alt="" /></td>
						<td><img src="assets/imgs/admin/save-icon.gif" width="16" height="16" alt="save" /></td>
						<td><img src="assets/imgs/admin/edit-icon.gif" width="16" height="16" alt="edit" /></td>
						<td><img src="assets/imgs/admin/login-icon.gif" width="16" height="16" alt="login" /></td>
						<td><img src="assets/imgs/admin/save-icon.gif" width="16" height="16" alt="save" /></td>
						<td class="last"><img src="assets/imgs/admin/add-icon.gif" width="16" height="16" alt="add" /></td>
					</tr>
					<tr>
						<td class="first style4">- Lorem Ipsum </td>
						<td><img src="assets/imgs/admin/add-icon.gif" width="16" height="16" alt="add" /></td>
						<td><img src="assets/imgs/admin/hr.gif" width="16" height="16" alt="" /></td>
						<td><img src="assets/imgs/admin/save-icon.gif" width="16" height="16" alt="save" /></td>
						<td><img src="assets/imgs/admin/edit-icon.gif" width="16" height="16" alt="edit" /></td>
						<td><img src="assets/imgs/admin/login-icon.gif" width="16" height="16" alt="login" /></td>
						<td><img src="assets/imgs/admin/save-icon.gif" width="16" height="16" alt="save" /></td>
						<td class="last"><img src="assets/imgs/admin/add-icon.gif" width="16" height="16" alt="add" /></td>
					</tr>-->
				</table>
				<!--<div class="select">
					<strong>Trang: </strong>
					<select>
						<option>1</option>
					</select>
			  </div>-->
			</div>
		  <!--<div class="table">
				<img src="assets/imgs/admin/bg-th-left.gif" width="8" height="7" alt="" class="left" />
				<img src="assets/imgs/admin/bg-th-right.gif" width="7" height="7" alt="" class="right" />
				<table class="listing form" cellpadding="0" cellspacing="0">
					<tr>
						<th class="full" colspan="2">Header Here</th>
					</tr>
					<tr>
						<td class="first" width="172"><strong>Lorem Ipsum</strong></td>
						<td class="last"><input type="text" class="text" /></td>
					</tr>
					<tr class="bg">
						<td class="first"><strong>Lorem Ipsum</strong></td>
						<td class="last"><input type="text" class="text" /></td>
					</tr>
					<tr>
						<td class="first""><strong>Lorem Ipsum</strong></td>
						<td class="last"><input type="text" class="text" /></td>
					</tr>
					<tr class="bg">
						<td class="first"><strong>Lorem Ipsum</strong></td>
						<td class="last"><input type="text" class="text" /></td>
					</tr>
				</table>
	        <p>&nbsp;</p>
		  </div>-->